//
//  AFN.h
//  
//
//  Created by Jessica on 15/10/28.
//
//

#import <Foundation/Foundation.h>
typedef  void (^AFNData)(id block);
@interface AFN : NSObject

+ (void)getdataWithString:(NSString *)string block:(AFNData)block;

+(void)postdataWithString:(NSString *)string bodyStr:(NSDictionary *)bodyStr block:(AFNData)block;
@end
